package com.mtzqc.common.ui.activity

import android.graphics.Color
import com.kongzue.dialogx.dialogs.WaitDialog
import com.mtzqc.common.ui.view.IView
import com.trello.rxlifecycle4.components.support.RxAppCompatActivity


open class RootActivity : RxAppCompatActivity(), IView{

    override fun showLoading(tip: String) {
        WaitDialog.show(tip)//.setMaskColor(Color.TRANSPARENT)
    }

    override fun dismissLoading() {
        WaitDialog.dismiss()
    }
}